import request from '@/utils/request';

export async function getUSScore(params) {
  return request(`/fss/analyticssystem/Scores`, {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json;charset=utf-8',
    },
    body: JSON.stringify(),
  });
}

export async function getUSScoreHistory(params) {
  // params={type:"1"};
  return request(`/fss/analyticssystem/ScoreHistory`, {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json;charset=utf-8',
    },
    body: JSON.stringify(params),
  });
}

export async function fakeChartData() {
  return request('/api/fake_chart_data');
}
